package com.ysb.searchserver.share;

import java.util.List;

public interface SearchProvider {

	public final static int SYSERROR = -99;
	
	public final static int NO_RESULT = -1;
	
	public void addWord(String word, int id);
	
	public void delWord(String word);
	
	public int queryWord(String word);
	
	public int deleteDoc(int docId);
	
	public void updateDoc(int docId, String sentence);
	
	public List<Integer> queryExamByWords(String words);
}
